type IndexState = {
  count: number;
  user: {
    age: number;
    name: string;
  };
};
type IndexGetters = {
  doubleCount: (state: IndexState) => number;
  username: (state: IndexState) => string;
};
type IndexActions = {
  setCount: (count: number) => void;
};
export type {
  IndexState,
  IndexGetters,
  IndexActions
}
